import {
	http
} from '@/restful/http.js'
// 项目接口地址
var bassServerUrl
// 微信地图接口地址
var baseWxMapServerUrl
// 高德地图接口地址
var baseGdMapServerUrl

// 非H5平台
// #ifndef H5
// bassServerUrl = 'https://byxx.weixin315.com' // 挂载全局参数serverUrl
bassServerUrl = 'https://byxx.0431cn.net' // 挂载全局参数serverUrl
// 微信地图接口地址
baseWxMapServerUrl = 'https://apis.map.qq.com'
// #endif

// H5 平台
// #ifdef H5
bassServerUrl = '/api'
// 微信地图接口地址
baseWxMapServerUrl = '/wellTencentMap'
// #endif
// 腾讯地图接口
const getLocationAddressUrl = baseWxMapServerUrl + '/ws/geocoder/v1'
// 获取openid
const getMyUserInfoUrl = bassServerUrl + '/CodeXX.aspx'
// 获取用户Vip信息
const getMyUserVipInfoUrl = bassServerUrl + '/HuoQvUser.aspx'
// 首页接口地址
const getIndexUrl = bassServerUrl + '/Index.aspx'
const getCityAryUrl = bassServerUrl + '/IndexCity.aspx'
const getIndexInfoUrl = bassServerUrl + '/indexfb.aspx'
const setInfoCollectionUrl = bassServerUrl + '/ShouChang.aspx' // 收藏信息
const postInfoReportUrl = bassServerUrl + '/JuBao.aspx' // 举报信息
const getIndexInfoListMoreUrl = bassServerUrl + '/indexfb1.aspx' //首页上拉获取信息
const getIndexSearchResultUrl = bassServerUrl + '/Search.aspx' //首页搜索
// 信息列表页面接口地址
const getColumnInfoListUrl = bassServerUrl + '/LanMuList1.aspx' // 获取栏目列表页面信息
const getColumnInfoListMoreUrl = bassServerUrl + '/LanMuXuan1.aspx' // 获取栏目列表页面更多信息信息
const getSearchColumnInfoListUrl = bassServerUrl + '/LanMuSearch1.aspx' // 获取栏目搜索结果信息

// 信息详细页面接口地址
const getInfoContentUrl = bassServerUrl + '/FBXX_view.aspx' // 获取信息详细内容
const getInfoCommentUrl = bassServerUrl + '/PingLun.aspx' // 获取信息品论内容
const postInfoCommentUrl = bassServerUrl + '/AddPL.aspx' // 发布品论内容
const getInfoIsCommentUrl = bassServerUrl + '/PHIsOnline.aspx' // 是否可以发布评论
const postCommentsReplyUrl = bassServerUrl + '/AddPLHF.aspx' // 回复评论
// 发布列表页面接口地址
const getReleaseListUrl = bassServerUrl + '/DBFaBu.aspx' // 获取发布页面列表信息
const getMyIsVIPUrl = bassServerUrl + '/VIPToNO.aspx' // 获取自己是否是VIP用户
// 发布详细页面接口地址
const getReleaseDetailedUrl = bassServerUrl + '/MBJieKou.aspx'
// 看报页面接口地址
const getNewsPaperUrl = bassServerUrl + '/KanBao.aspx' // 获取看报页面信息
const getNewsPaperNumberUrl = bassServerUrl + '/KBQiShu.aspx' // 获取看报页面期数
const getNewsPaperInfoListUrl = bassServerUrl + '/KanBaoLM1.aspx' // 获取看报黑白版栏目信息列表
const getNewsPaperInfoContentUrl = bassServerUrl + '/KBXX_view.aspx' // 获取看报黑白版详细内容
const getNewsPaperInfoContentAdsUrl = bassServerUrl + '/KBAds_view.aspx' // 获取看报黑白版详细页面广告内容
const getNewsPaperSearchInfoListUrl = bassServerUrl + '/KBSearch1.aspx' // 获取看报黑白版搜索结果列表

// 发布表单信息接口
const getUserBalanceUrl = bassServerUrl + '/User_HBPrice.aspx' // 获取用户余额
const uploadPictureReviewUrl = bassServerUrl + '/get_img.aspx' // 图片审核接口
const checkTextContentUrl = bassServerUrl + '/get_txt.aspx' // 文字审核接口
const postInfoContentAddUrl = bassServerUrl + '/Add_XinXi.aspx' // 信息内容提交接口
const uploadPictureUrl = bassServerUrl + '/UpLoadImg.aspx' // 上传图片接口
const delUnpaidInfoUrl = bassServerUrl + '/PersonFB_del.aspx' // 删除未支付信息接口

// 注册成vip信息接口
const getUserVIPRegListUrl = bassServerUrl + '/VIPList.aspx' // 获取购买VIP的列表详细信息
const getUserVIPRedViewUrl = bassServerUrl + '/VIPList_View.aspx' // 获取购买VIP单个商品详细信息
const postUserVipRedOrderUrl = bassServerUrl + '/VIPList_GM.aspx' // 提交购买VIP信息

// 我的会员接口
const getUserVIPToNOUrl = bassServerUrl + '/VIPToNO.aspx' // 进入我的页面，获取会员信息
const getUserFreeReleaseNumberUrl = bassServerUrl + '/MFFBCount.aspx' // 获取未付费会员的免费发布数量
const getUserBalanceAndIdUrl = bassServerUrl + '/HQIDOrYE.aspx' // 获取会员红包余额及用户ID

// 联系客服接口
const getCustomerServiceUrl = bassServerUrl + '/Online.aspx' // 获取联系客服内容

// 关于我们接口
const getAboutUsUrl = bassServerUrl + '/contact.aspx' // 获取关于我们

// 获取我的消息接口
const getMyMessageUrl = bassServerUrl + '/XiTongXX.aspx' // 获取我的消息

// 获取我的发布信息接口
const getMyReleaseUrl = bassServerUrl + '/PersonFBGX.aspx' // 获取我的发布信息
const delMyReleaseUrl = bassServerUrl + '/PersonFB_del.aspx' // 删除我发布的信息

// 获取我的收藏接口
const getMyCollectionUrl = bassServerUrl + '/PersonSC.aspx' // 获取我的收藏信息

// 招聘首页
const getJobIndexURL = bassServerUrl + '/XCXJob/index.aspx' //获取招聘首页信息
const getJobIndexAreaURL = bassServerUrl + '/XCXJob/getArea.aspx' //获取招聘首页招聘地域信息
const getJobIndexHotJobListURL = bassServerUrl + '/XCXJob/Index_ZWXuan.aspx' //获取招聘首页在选择热门职业分类时获取列表信息
const getJobIndexNewResumeListURL = bassServerUrl + '/XCXJob/Index_QZList.aspx' //获取招聘首页在求职简历分类时获取列表信息
// 全职招聘页面
const getJobRecruitListURL = bassServerUrl + '/XCXJob/ZhaoPin_QuanList.aspx'  // 获取全职招聘页面列表信息
const getJobRecruitScreenListURL = bassServerUrl + '/XCXJob/ZhaoPin_QuanListXuan.aspx'  // 全职招聘页面筛选结果列表信息
const getJobRecruitNearbyListURL = bassServerUrl + '/XCXJob/QZhaoPin_FuJin_List.aspx' // 全职招聘页面附近列表信息

// 兼职招聘页面
const getJobPartTimeListURL = bassServerUrl + '/XCXJob/ZhaoPin_ListJZ.aspx'  // 获取兼职招聘页面列表信息
const getJobPartTimeScreenListURL = bassServerUrl + '/XCXJob/ZhaoPin_JZXuan_List.aspx'  // 兼职招聘页面筛选结果列表信息
const getJobPartTimeNearbyListURL = bassServerUrl + '/XCXJob/JZhaoPin_FuJin.aspx' // 兼职招聘页面附近列表信息

// 人才简历页面
const getJobResumesListURL = bassServerUrl + '/XCXJob/JianLi_List.aspx' // 获取人才简历页面列表信息
const getJobResumesScreenListURL = bassServerUrl + '/XCXJob/Jian_List_Xuan.aspx' // 获取人才简历筛选结果列表信息

// 名企推荐页面
const getJobEnterPrisesListURL = bassServerUrl + '/XCXJob/QiYe_List.aspx'  // 名企页面列表信息

// 企业详细页面
const getJobCompanyShowURL = bassServerUrl + '/XCXJob/QiYe_View.aspx'  // 企业详细页面信息

// 个人简历详细页面
const getJobPersonalShowURL = bassServerUrl + '/XCXJob/JianLi_View.aspx'  // 个人简历详细页面信息
const getJobPersonalCollectionURL = bassServerUrl + '/XCXJob/JianLi_SC.aspx'  // 个人简历收藏

// 招聘详细页面
const getJobContentShowURL = bassServerUrl + '/XCXJob/ZhaoPin_View.aspx'  // 招聘职位详细页面信息
const getJobPartTimeContentShowURL = bassServerUrl + '/XCXJob/ZhaoPin_JZView.aspx'	// 招聘兼职职位详细页面信息
const getJobContentPositionListURL = bassServerUrl + '/XCXJob/ZhaoPin_JZListTJ.aspx'  // 招聘职位详细页面职位推荐列表信息
const getJobContentCollectionURL = bassServerUrl + '/XCXJob/ZhaoPin_SC.aspx'  // 招聘职位详细页面职位收藏
const getJobContentResumeListURL = bassServerUrl + '/XCXJob/ZhaoPin_View_JL.aspx'  // 招聘职位详细页面获取简历列表
const postJobContentDeliverResumeURL = bassServerUrl + '/XCXJob/ZhaoPin_SQZW.aspx'  // 招聘职位详细投递简历

// 招聘我的页面
const getJobMeSetMealURL = bassServerUrl + '/XCXJob/ZP_TaoCan.aspx'  // 招聘我的页面套餐信息
const getJobMePersonInfoURL = bassServerUrl + '/XCXJob/ZP_Person.aspx'  // 招聘我的页面个人信息

const getJobMeJobHunterApplicationURL = bassServerUrl + '/XCXJob/MY_SQZWList.aspx'  // 招聘我的求职者-申请记录
const getJobMeMyResumeListURL = bassServerUrl + '/XCXJob/MY_JianLi_List.aspx'  // 招聘我是求职者-我的简历

// 电话绑定
const getJobPhoneBindURL = bassServerUrl + '/XCXJob/PhoneRZ.aspx'  //  判断电话是否绑定

// 企业认证
const getJobCompanyAuthenticationURL = bassServerUrl + '/XCXJob/QiYe_RenZheng.aspx'  // 企业认证-获取企业认证信息
const uploadCompanyAuthenticationPictureUrl = bassServerUrl + '/XCXJob/QYUpLoadImg.aspx'  // 企业认证-上传图片
const postJobComapnyAuthenticationURL = bassServerUrl + '/XCXJob/QiYe_RZAdd.aspx' // 企业认证-提交认证信息

// 个人认证
const getJobPersonalAuthenticationURL = bassServerUrl + '/XCXJob/GeRen_RenZheng.aspx'  // 个人认证-获取个人认证信息
const uploadPersonalAuthenticationPictureURL = bassServerUrl + '/XCXJob/GRRZUPLoadImg.aspx'  // 个人认证-上传图片
const postJobPersonalAuthenticationURL = bassServerUrl + '/XCXJob/GeRen_RZAdd.aspx' // 个人认证-提交认证信息

// 发布简历页面
const getJobPostResumeURL = bassServerUrl + '/XCXJob/FB_JianLi_BiaoDan.aspx'	// 发布简历--获取发布简历表单参数
const uploadPostResumeAvatarURL = bassServerUrl + '/XCXJob/QZUPLoadImg.aspx'	// 发布简历--上传头像
const postJobPostResumeURL = bassServerUrl + '/XCXJob/FB_JianLi.aspx'	// 发布简历--提交信息

// 招聘发布页面
const getJobIsCompanyAuthenticationURL = bassServerUrl + '/XCXJob/RZYesOrNo.aspx'  // 招聘发布页面-是否已经企业认证
const getJobPostPositionURL = bassServerUrl + '/XCXJob/FB_ZhaoPin.aspx'	// 招聘发布页面--获取招聘发布页面表单参数
const uploadPostPositionPictureURL = bassServerUrl + '/XCXJob/ZhaoPinUPLoadImg.aspx'	// 招聘发布页面--上传图片
const postJobPostPositionURL = bassServerUrl + '/XCXJob/FB_ZhaoPin_TJ.aspx'	// 招聘发布页面--提交信息



// 获取OPENID
export const getMyUserInfo = (params) => {
	return http.post(getMyUserInfoUrl, params).then(res => res.data)
}
// 获取用户Vip信息
export const getMyUserVipInfo = (params) => {
	return http.post(getMyUserVipInfoUrl, params).then(res => res.data)
}
// 获取首页信息
export const getIndex = (params) => {
	return http.post(getIndexUrl, params).then(res => res.data)
}
// 获取城市列表
export const getCityList = async () => {
	return await http.get(getCityAryUrl, ).then(res => res.data)
}
// 获取首页信息列表
export const getIndexInfoList = (params) => {
	return http.post(getIndexInfoUrl, params).then(res => res.data)
}
// 收藏信息
export const setInfoCollection = (params) => {
	return http.post(setInfoCollectionUrl, params).then(res => res.data)
}
// 举报信息
export const postInfoReport = (params) => {
	return http.post(postInfoReportUrl, params).then(res => res.data)
}
// 首页上拉获取信息
export const getIndexInfoListMore = (params) => {
	return http.post(getIndexInfoListMoreUrl, params).then(res => res.data)
}
// 首页搜索
export const getIndexSearchResult = (params) => {
	return http.post(getIndexSearchResultUrl, params).then(res => res.data)
}
// 获取栏目列表页面信息
export const getColumnInfoList = (params) => {
	return http.post(getColumnInfoListUrl, params).then(res => res.data)
}
// 获取栏目列表页面更多信息
export const getColumnInfoListMore = (params) => {
	return http.post(getColumnInfoListMoreUrl, params).then(res => res.data)
}
// 获取栏目搜索结果信息
export const getSearchColumnInfoList = (params) => {
	return http.post(getSearchColumnInfoListUrl, params).then(res => res.data)
}
// 获取信息内容
export const getInfoContent = (params) => {
	return http.post(getInfoContentUrl, params).then(res => res.data)
}
// 获取信息品论内容
export const getInfoComment = (params) => {
	return http.post(getInfoCommentUrl, params).then(res => res.data)
}
// 是否可以发布评论
export const getInfoIsComment = (params) => {
	return http.post(getInfoIsCommentUrl, params).then(res => res.data)
}
// 发布评论内容
export const postInfoComment = (params) => {
	return http.post(postInfoCommentUrl, params).then(res => res.data)
}
// 回复品论
export const postCommentsReply = (params) => {
	return http.post(postCommentsReplyUrl, params).then(res => res.data)
}
// 获取发布页面列表信息
export const getReleaseList = (params) => {
	return http.post(getReleaseListUrl, params).then(res => res.data)
}
// 获取发布页面是否VIP
export const getMyIsVIP = (params) => {
	return http.post(getMyIsVIPUrl, params).then(res => res.data)
}
// 获取发布详细页面参数
export const getReleaseDetailed = (params) => {
	return http.post(getReleaseDetailedUrl, params).then(res => res.data)
}
// 获取看报页面信息
export const getNewsPaper = (params) => {
	return http.post(getNewsPaperUrl, params).then(res => res.data)
}
// 获取看报页面期数
export const getNewsPaperNumber = (params) => {
	return http.post(getNewsPaperNumberUrl, params).then(res => res.data)
}
// 获取看报黑白版栏目信息列表
export const getNewsPaperInfoList = (params) => {
	return http.post(getNewsPaperInfoListUrl, params).then(res => res.data)
}
// 获取看报黑白版搜索结果列表
export const getNewsPaperSearchInfoList = (params) => {
	return http.post(getNewsPaperSearchInfoListUrl, params).then(res => res.data)
}
// 获取看报黑白版详细内容
export const getNewsPaperInfoContent = (params) => {
	return http.post(getNewsPaperInfoContentUrl, params).then(res => res.data)
}
// 获取看报黑白版详细页面广告内容
export const getNewsPaperInfoContentAds = (params) => {
	return http.post(getNewsPaperInfoContentAdsUrl, params).then(res => res.data)
}
//获取地理位置接口
export const getLocationAddress = async (params) => {
	return await http.get(getLocationAddressUrl, params).then(res => res.data)
}
// 获取用户余额
export const getUserBalance = (params) => {
	return http.post(getUserBalanceUrl, params).then(res => res.data)
}
//  上传图片审核接口
export const uploadPictureReview = async (params) => {
	return await http.upload(uploadPictureReviewUrl, params).then(res => res.data)
}
// 文字审核接口
export const checkTextContent = (params) => {
	return http.post(checkTextContentUrl, params).then(res => res.data)
}
// 信息提交接口
export const postInfoContentAdd = (params) => {
	return http.post(postInfoContentAddUrl, params).then(res => res.data)
}
// 上传图片接口
export const uploadPicture = (params) => {
	return http.upload(uploadPictureUrl, params).then(res => res.data)
}
// 删除未支付信息接口
export const delUnpaidInfo = (params) => {
	return http.post(delUnpaidInfoUrl, params).then(res => res.data)
}
// 获取购买VIP列表信息
export const getUserVIPRegList = (params) => {
	return http.post(getUserVIPRegListUrl, params).then(res => res.data)
}
// 获取购买VIP单个商品详细信息
export const getUserVIPRedView = (params) => {
	return http.post(getUserVIPRedViewUrl, params).then(res => res.data)
}
// 提交购买VIP信息
export const postUserVipRedOrder = (params) => {
	return http.post(postUserVipRedOrderUrl, params).then(res => res.data)
}
// 我的会员信息接口
export const getUserVIPToNO = (params) => {
	return http.post(getUserVIPToNOUrl, params).then(res => res.data)
}
// 未付费会员的免费发布数量
export const getUserFreeReleaseNumber = (params) => {
	return http.post(getUserFreeReleaseNumberUrl, params).then(res => res.data)
}
// 获取会员红包余额及用户ID
export const getUserBalanceAndId = (params) => {
	return http.post(getUserBalanceAndIdUrl, params).then(res => res.data)
}
// 获取联系客服内容
export const getCustomerService = (params) => {
	return http.post(getCustomerServiceUrl, params).then(res => res.data)
}
// 获取关于我们内容
export const getAboutUs = (params) => {
	return http.post(getAboutUsUrl, params).then(res => res.data)
}
// 获取我的消息内容
export const getMyMessage = (params) => {
	return http.post(getMyMessageUrl, params).then(res => res.data)
}
// 获取我的发布信息
export const getMyRelease = (params) => {
	return http.post(getMyReleaseUrl, params).then(res => res.data)
}
// 删除我的发布信息
export const delMyRelease = (params) => {
	return http.post(delMyReleaseUrl, params).then(res => res.data)
}
// 获取收藏的信息
export const getMyCollection = (params) => {
	return http.post(getMyCollectionUrl, params).then(res => res.data)
}

//获取招聘首页信息
export const getJobIndex = (params) => {
	return http.post(getJobIndexURL, params).then(res => res.data)
}

//获取招聘首页招聘地域信息
export const getJobIndexArea = (params) => {
	return http.post(getJobIndexAreaURL, params).then(res => res.data)
}
//获取招聘首页在选择热门职业分类时获取列表信息
export const getJobIndexHotJobList = (params) => {
	return http.post(getJobIndexHotJobListURL, params).then(res => res.data)
}

//获取招聘首页在求职简历分类时获取列表信息
export const getJobIndexNewResumeList = (params) => {
	return http.post(getJobIndexNewResumeListURL, params).then(res => res.data)
}

// 获取全职招聘页面列表信息
export const getJobRecruitList = (params) => {
	return http.post(getJobRecruitListURL, params).then(res => res.data)
}

// 获取全职招聘页面筛选列表信息
export const getJobRecruitScreenList = (params) => {
	return http.post(getJobRecruitScreenListURL, params).then(res => res.data)
}

// 获取全职招聘页面附近列表信息
export const getJobRecruitNearbyList = (params) => {
	return http.post(getJobRecruitNearbyListURL, params).then(res => res.data)
}

// 获取兼职招聘页面列表信息
export const getJobPartTimeList = (params) => {
	return http.post(getJobPartTimeListURL, params).then(res => res.data)
}

// 获取兼职招聘页面筛选列表信息
export const getJobPartTimeScreenList = (params) => {
	return http.post(getJobPartTimeScreenListURL, params).then(res => res.data)
}

// 获取兼职招聘页面附近列表信息
export const getJobPartTimeNearbyList = (params) => {
	return http.post(getJobPartTimeNearbyListURL, params).then(res => res.data)
}

// 获取人才简历页面列表信息
export const getJobResumesList = (params) => {
	return http.post(getJobResumesListURL, params).then(res => res.data)
}

// 获取人才简历筛选结果列表信息
export const getJobResumesScreenList = (params) => {
	return http.post(getJobResumesScreenListURL, params).then(res => res.data)
}

// 获取名企推荐页面列表信息
export const getJobEnterPrisesList = (params) => {
	return http.post(getJobEnterPrisesListURL, params).then(res => res.data)
}

// 获取企业详细页面信息
export const getJobCompanyShow = (params) => {
	return http.post(getJobCompanyShowURL, params).then(res => res.data)
}

// 获取个人简历详细页面
export const getJobPersonalShow = (params) => {
	return http.post(getJobPersonalShowURL, params).then(res => res.data)
}

// 个人简历收藏
export const getJobPersonalCollection = (params) => {
	return http.post(getJobPersonalCollectionURL, params).then(res => res.data)
}

// 招聘职位详细页面信息
export const getJobContentShow = (params) => {
	return http.post(getJobContentShowURL, params).then(res => res.data)
}

// 招聘职兼职位详细页面信息
export const getJobPartTimeContentShow = (params) => {
	return http.post(getJobPartTimeContentShowURL, params).then(res => res.data)
}

// 招聘职位详细页面职位推荐列表信息
export const getJobContentPositionList = (params) => {
	return http.post(getJobContentPositionListURL, params).then(res => res.data)
}

// 招聘职位详细页面职位收藏
export const getJobContentCollection = (params) => {
	return http.post(getJobContentCollectionURL, params).then(res => res.data)
}

// 招聘职位详细页面获取简历列表
export const getJobContentResumeList = (params) => {
	return http.post(getJobContentResumeListURL, params).then(res => res.data)
}

// 招聘职位详细投递简历
export const postJobContentDeliverResume = (params) => {
	return http.post(postJobContentDeliverResumeURL, params).then(res => res.data)
}

// 招聘我的页面套餐信息
export const getJobMeSetMeal = (params) => {
	return http.post(getJobMeSetMealURL, params).then(res => res.data)
}
 
 // 招聘我的页面个人信息
export const getJobMePersonInfo = (params) => {
 	return http.post(getJobMePersonInfoURL, params).then(res => res.data)
}

// 招聘我的求职者-申请记录
export const getJobMeJobHunterApplication = (params) => {
	return http.post(getJobMeJobHunterApplicationURL, params).then(res => res.data)
}

// 招聘我是求职者-我的简历
export const getJobMeMyResumeList = (params) => {
	return http.post(getJobMeMyResumeListURL, params).then(res => res.data)
}

// 电话绑定-判断电话是否绑定
export const getJobPhoneBind = (params) => {
	return http.post(getJobPhoneBindURL, params).then(res => res.data)
}  

// 企业认证-获取企业认证信息
export const getJobCompanyAuthentication = (params) => {
	return http.post(getJobCompanyAuthenticationURL, params).then(res => res.data)
}

// 企业认证-提交认证信息
export const postJobComapnyAuthentication = (params) => {
	return http.post(postJobComapnyAuthenticationURL, params).then(res => res.data)
}

// 企业认证-上传图片
export const uploadCompanyAuthenticationPicture = (params) => {
	return http.upload(uploadCompanyAuthenticationPictureUrl, params).then(res => res.data)
}

// 个人认证-获取个人认证信息
export const getJobPersonalAuthentication = (params) => {
	return http.post(getJobPersonalAuthenticationURL, params).then(res => res.data)
}

// 个人认证-提交认证信息
export const postJobPersonalAuthentication = (params) => {
	return http.post(postJobPersonalAuthenticationURL, params).then(res => res.data)
}

// 个人认证-上传图片
export const uploadPersonalAuthenticationPicture = (params) => {
	return http.upload(uploadPersonalAuthenticationPictureURL, params).then(res => res.data)
}

// 发布简历-获取发布简历表单参数
export const getJobPostResume = (params) => {
	return http.post(getJobPostResumeURL, params).then(res => res.data)
}

// 发布简历--上传头像
export const uploadPostResumeAvatar = (params) => {
	return http.upload(uploadPostResumeAvatarURL, params).then(res => res.data)
}

// 发布简历--提交信息
export const postJobPostResume = (params) => {
	return http.post(postJobPostResumeURL, params).then(res => res.data)
}

// 招聘发布页面-是否已经企业认证
export const getJobIsCompanyAuthentication = (params) => {
	return http.post(getJobIsCompanyAuthenticationURL, params).then(res => res.data)
}

// 招聘发布页面-获取招聘发布页面表单参数
export const getJobPostPosition = (params) => {
	return http.post(getJobPostPositionURL, params).then(res => res.data)
}

// 招聘发布页面--上传图片
export const uploadPostPositionPicture = (params) => {
	return http.upload(uploadPostPositionPictureURL, params).then(res => res.data)
}

// 招聘发布页面--提交信息
export const postJobPostPosition = (params) => {
	return http.post(postJobPostPositionURL, params).then(res => res.data)
}


// export const getGoodsInfo = (data, params) => {
//   return http.middleware({
//     method: 'POST', // 必须大写
//     url: '/api/user/update',
//     data: data,
//     params: params,
//     custom: {
//       auth: true
//     }
//   })
// }
